﻿using System;
using System.Linq;
using NC.Data;

namespace NC
{
    public static class NcConstants
    {
        public static int DefaultNumberOfPostsInAPage = 8;
        public static string ActivationUrl = "http://nepalicorner.com/account/ActivateUser?ac=";
        public static string ResetPasswordUrl = "http://nepalicorner.com/account/ResetPasswordCode?code=";
        public static string NcEmail = "postmaster@nepalicorner.com";
        public static int RanNumMin = 0000001;
        public static int RanNumMax = 9999999;
        public static int DefaultCountryId;
        public static int DefaultCityId;
        public static int DefaultStateId;
        public static string DefaultZipCodeId = "0";
        public static int DefaultAddressId = 1;
        public static DateTime DefaultDOB = new DateTime(1990, 1, 1);
    }

    public static class NcMessage
    {
        public static string EmailAlreadyExists = "Email Id already Exists !!";
        public static string UserNamenPassNotMatch = "Please enter correct username and/or password !!";
        public static string UsernameNotFound = "Please enter correct username and/or password !!";
        public static string NotAcitvated ="You haven't activated your account.Please check your mail and click the link";
        public static string Acitvated = "Success! You have been authenticated.Please Log in below";
        public static string AcitvateError = "<strong>Error! </strong>The activation link you provided does not seem to work.";
        public static string EmailNotFound = "Email not found";
        public static string EmailSentNotification = "Email has been sent to your mail. Pleas check your mail";
        public static string InvalidPassword = "Password must be in between 6 to 20 and must contain 1 letter and a digit";
        public static string ResetSucceed = "Your Password is successfully changed.";
        public static string MustbeLogin = "To create a post, you must register with full information";
        public static string DisplayEmailInPost = "Display my email id in Post.";

    }

    public enum TemplateName
    {
        UserActivation, 
        ResetPassword,
        ReplyToAPost, 
        AutoUserCreationNActivation
    }
}
